package com.heima.apis.user.fallBack;

import com.heima.apis.article.IArticleClient;
import com.heima.apis.user.IUserClient;
import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.common.dtos.ResponseResult;
import com.heima.model.common.enums.AppHttpCodeEnum;
import com.heima.model.user.dtos.AuthDto;
import org.springframework.stereotype.Component;

@Component
public class IUserClientFallBack implements IUserClient {

    /**
     * 获取审核列表
     *
     * @param dto
     * @return
     */
    @Override
    public ResponseResult list(AuthDto dto) {
        return ResponseResult.okResult(AppHttpCodeEnum.SUCCESS);
    }

    /**
     * 审核失败
     *
     * @param dto
     * @return
     */
    @Override
    public ResponseResult authFail(AuthDto dto) {
        return ResponseResult.okResult(AppHttpCodeEnum.SUCCESS);

    }

    /**
     * 审核通过
     *
     * @param dto
     * @return
     */
    @Override
    public ResponseResult authPass(AuthDto dto) {
        return ResponseResult.okResult(AppHttpCodeEnum.SUCCESS);

    }
}
